//入口文件
import Vue from 'vue';
import app from './App.vue';
import 'mint-ui/lib/style.css';
//导入路由
import VueRouter from 'vue-router';
Vue.use(VueRouter);

//导入路由模块
import router from './router.js';

//按需导入Mint-UI中的组件
import { Header } from 'mint-ui';
Vue.component(Header.name,Header);

//导入mui的样式
import './lib/mui/css/mui.min.css';
import './lib/mui/css/icons-extra.css'

new Vue({
    el: "#app",
    render: r => r(app),
    router,
})